<?php
class App_Module_Admin_ExceptionHandler_Std_Cli extends Mozg_ExceptionHandler
{
    protected function HandleNotAuthorized(Exception $e)
    {
        Mozg::Response('std')->SetBody(Mozg_Lang::_('AUTH_REQUIRED'));
    }
    
    protected function HandleNotAcceptable(Exception $e)
    {
        Mozg::Response('std')->SetBody(Mozg_Lang::_('ACCESS_DENIED'));
    }

    protected function HandleNotFound(Exception $e)
    {
        Mozg::Response('std')->SetBody(Mozg_Lang::_('PAGE_NOT_FOUND'));
    }
}